package com.xiegang.serviceMap.service;

import com.xiegang.internalcommon.dto.ResponseResult;
import com.xiegang.serviceMap.remote.ServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author xieGang
 * @description
 * @date 2023/4/5 11:04
 **/
@Service
public class ServiceFromMapService {

    @Autowired
    private ServiceClient serviceClient;
    public ResponseResult add(String name){
        return serviceClient.add(name);
    }
}
